package com.jse.tpl;

import java.math.BigDecimal;
import java.math.BigInteger;

import com.jse.Casts;
import com.jse.Lang;

public class ObjectExt {

	public Boolean toBoolean(Object o) {return Casts.toBoolean(o);}
	public Integer toInt(Object o) {return Casts.toInt(o);}
	public Long toLong(Object o) {return Casts.toLong(o);}
	public Float toFloat(Object o) {return Casts.toFloat(o);}
	public Double toDouble(Object o) {return Casts.toDouble(o);}
	public Short toShort(Object o) {return Casts.toShort(o);}
	public Byte toByte(Object o) {return Casts.toByte(o);}
	public BigInteger toBigInteger(Object o) {return Casts.toBigInteger(o);}
	public BigDecimal toBigDecimal(Object o) {return Casts.toBigDecimal(o);}
	public String toFixed(Object o,int n){return Lang.toFixed(o,n);}
}
